package com.amoyt.project.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Date: 2025/8/27
 * @Time: 10:38
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectApprovalDetailVo {

    @Schema(description = "主键")
    private String projectId;

    @Schema(description = "项目编号")
    private String projectNum;

    @Schema(description = "申请项目名称")
    private String projectName;

    @Schema(description = "项目级别（town-乡镇/region-县区等）")
    private String projectLevel;

    @Schema(description = "申请单位（如“XX镇政府”）")
    private String applyUnit;

    @Schema(description = "申请内容（项目背景、方案等）")
    private String applyContent;

    @Schema(description = "项目资金")
    private Long applyMoney;

    @Schema(description = "申请发起时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime applyTime;

    @Schema(description = "当前审批级别")
    private String currentApprovalLevel;

    @Schema(description = "整体状态（pending-待审批/underApproval-审批中/passed-通过/rejected-驳回）")
    private String overallStatus;

    @Schema(description = "审批详情")
    private List<ProjectApprovalResultVo> approvalResults;
}
